package com.example.yigoumall.entity;

import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class Order {
    private Integer id;
    private Integer userId;
    private String loginName;
    private String userAddress;
    private LocalDateTime createTime;
    private BigDecimal cost;
    private String serialNumber;
    
    // 手动添加setId方法确保Lombok生效
    public void setId(Integer id) {
        this.id = id;
    }
}